package com.baidu.shopping.dao;


import java.util.List;

import com.baidu.shopping.pojo.Order;
import com.baidu.shopping.pojo.OrderItem;
import com.baidu.user.pojo.User;

public interface ShoppingMapper {

	User login(User user);
	

	 int deleteByPrimaryKey(String id);

    int insert(Order record);

    void insertSelective(Order record);

    Order selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);


	void addOrderItem(OrderItem orderItem);


	List<OrderItem> getOrderitem(String orderid);

}
